
<style type="text/css">
.storelogo img{width:3.2rem;height:3.2rem}
.merchgroup .store-star {padding:0.1rem 0 0.2rem 0;font-size:0.55rem;line-height:1rem}
.merchgroup .store-star img{height:0.66rem}
.star-on,.star-off{position:absolute;top:1rem;left:0;overflow:hidden}
.star-rate {margin-left:3.6rem}
.store-distance{float:right;color:#999}
.store-moneylimit{font-size:0.75rem}
.weui_cell_hd {
    padding: 0.6rem;
	padding-left: 0;
}
.fui-header a.back:before {
	content: " ";
	border-color: #fff;
}
</style>
<div class="fui-page order-create-page fui-page-current" ng-if="pagedata.op == 'main'">
	<div class="fui-content">
		<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true">
			<div class="carousel-inner" role="listbox" style="height:auto">
			<div ng-class="{'item':1,'active':$index==0}" ng-repeat="item in pagedata.banner">
				<a href="#">
					<img src="{{tomedia(item.picurl) || '../core/resource/images/banner-1.jpg'}}" style="display: block; width: 100%; height: 100%;">
				</a>
			</div>
		</div>
			<style>
					.fui-swipe-page .fui-swipe-bullet {background: {background}; opacity: {opacity};}
					.fui-swipe-page .fui-swipe-bullet.active {opacity: 1;}
			</style>
			<div id="carousel-jinyun" class="fui-swipe-page" style="padding: 0 5px; bottom: 10px; ">
				<div class="fui-swipe-bullet" ng-repeat="item in pagedata.banner" ng-class="{'active':$index==0}" data-target="#carousel-container" data-slide-to="{{$index}}"></div>
			</div>
		</div>
		<div ng-include="sys_html('_bankuai1')"></div>
		<div class="fui-cellone">
			<div class="fui-cellone-info">
				<div class="search-input" style="height:1.6rem">
					<form action="javascript:return true">
					<i id="searchsub" class="icon icon-sousuo1 bold" ng-click="tool.get_list('jy_kaoshi/index/grouplist/',true)" style="line-height: 1.7rem;"></i>
					<input type="search" placeholder="输入关键字" class="search" ng-model="pagedata.params.keyword" style="height:1.6rem;text-align: left; border: 1px solid #fff;color: #999; font-size:0.6rem;background:#fff;border-radius: 1rem;" />
					</form>
				</div>
			</div>
			<div class="fui-cellone-remark noremark">
			 	<span style="margin-left:0.3rem;font-size: 0.75rem;color:#333" ng-click="tool.get_list('jy_kaoshi/index/grouplist/',true)">搜索</span>
			 </div>
		</div>
		<div style="padding:0 0.6rem">
		<div class="fui-list-group merchgroup radius" style="margin-top:0" ng-repeat="item in pagedata.list">
            <div class="fui-list">
                <a class="fui-list-media storelogo" href="javascript:;" ng-click="access_json('jy_kaoshi/group//id='+item.id)">
                    <img class="round" ng-src="{{tomedia(item.image) || '../core/resource/images/nopic.jpg'}}">
                </a>
                <a class="fui-list-inner" style="margin-top:0.16rem" href="javascript:;" ng-click="access_json('jy_kaoshi/group//id='+item.id)">
                    <div class="title bold" style="font-size:0.76rem">{{item.title}}</div>
                    <div class="store-star" style="font-size:0.75rem">
						<span>{{item.desc}}</span>
					</div>
					<div class="subtitle" style="font-size:0.75rem">
						<div class="store-moneylimit">
						  <span>题库数 {{item.listnum}}</span>
						</div>
					</div>
                </a>
            </div>
		</div>
		</div>
		<div ng-show="loading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
	</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.tool.get_list('jy_kaoshi/index/grouplist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_kaoshi/index/grouplist/');
}
</script>
<script>
	require(['bootstrap', 'hammer'], function($, Hammer){
		$('#carousel-container').carousel();
		var mc = new Hammer($('#carousel-container').get(0));
		mc.on("panleft", function(ev) {
			$('#carousel-container').carousel('next');
		});
		mc.on("panright", function(ev) {
			$('#carousel-container').carousel('prev');
		});
	});
</script>